//
//  QSVisitMessageCell.h
//  DigitalEconomy_iOS
//
//  Created by Ding on 2020/3/30.
//  Copyright © 2020 DingC. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "QSVisitDetailModel.h"
#import "YBImageBrowser.h"
NS_ASSUME_NONNULL_BEGIN
typedef void(^DidOpenTheProblemListBlock)(UIButton *openButton, CGFloat tabelViewH);

@interface QSVisitMessageCell : UITableViewCell<UICollectionViewDataSource, UICollectionViewDelegate, UITableViewDelegate, UITableViewDataSource, YBImageBrowserDataSource>
@property (weak, nonatomic) IBOutlet UIImageView *userImageView;
@property (weak, nonatomic) IBOutlet UILabel *userNameLabel;
@property (weak, nonatomic) IBOutlet UILabel *dateLabel;
@property (weak, nonatomic) IBOutlet UILabel *visitTypeLabel;
@property (weak, nonatomic) IBOutlet UILabel *companyLabel;
@property (weak, nonatomic) IBOutlet UILabel *messageLabel;
@property (weak, nonatomic) IBOutlet UICollectionView *collectionView;
@property (weak, nonatomic) IBOutlet UILabel *contactLabel;
@property (weak, nonatomic) IBOutlet UIView *graybgView;

@property (weak, nonatomic) IBOutlet UILabel *problemNumLabel;
@property (weak, nonatomic) IBOutlet UIButton *openButton;

@property (nonatomic, copy) QSVisitDetailModel *model;
@property (nonatomic, copy) NSArray *problemArr;
@property (nonatomic, copy) NSArray *picArr;
@property (strong, nonatomic) IBOutlet NSLayoutConstraint *collectionViewH;

@property (strong, nonatomic) IBOutlet UITableView *tableView;
@property (strong, nonatomic) IBOutlet NSLayoutConstraint *tableViewH;

@property (nonatomic, copy)DidOpenTheProblemListBlock didOpenTheProblemListBlock;
@end

NS_ASSUME_NONNULL_END
